from contenidos.models import ContenidoDocsPubs
from django.forms import ModelForm
from models import Contenido
import autocomplete_light



class ContenidoForm(ModelForm):
    class Meta:
        widgets = autocomplete_light.get_widgets_dict(Contenido)
        model = Contenido
        
class ContenidoDocsPubsForm(ModelForm):
    class Meta:
        widgets = autocomplete_light.get_widgets_dict(ContenidoDocsPubs)
        model = ContenidoDocsPubs